FROM tomcat:8-jdk8-openjdk-slim

RUN set -eux; \
    #改国内源 阿里云
    sed -i 's/deb.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list; \
    sed -i 's/security.debian.org/mirrors.aliyun.com/g' /etc/apt/sources.list; \
    apt-get update; \
    #apt-get install -y --no-install-recommends tzdata ca-certificates fontconfig locales; \
    #apt-get install -y --no-install-recommends wget unzip; \
	apt-get install -y --no-install-recommends curl libfreetype6-dev wget telnet iputils-ping fontconfig; \
	apt-get clean; \
	apt-get autoclean;
